package com.loie.xcx.mapper;

import com.loie.xcx.model.bo.CustomerBO;
import com.loie.xcx.model.bo.PermissionBO;
import com.loie.xcx.model.dto.CustomerDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhl
 */
public interface CustomerMapper {
    List<CustomerBO> getCustomersByCorpName(String customerCorpName);

    List<CustomerBO> getCustomersByPermissions(@Param("list") List<PermissionBO> list, @Param("customerDTO") CustomerDTO customerDTO);

}
